.out_storage_detail {
  height: 100%;
  box-sizing: border-box;
  padding: 12px;

  .main {
    box-sizing: border-box;
    padding: 12px;
    background-color: #fff;
    height: 100%;

    .header {
      display: flex;
      background-color: #fff;
      justify-content: space-between;
      box-sizing: border-box;
      padding: 0 12px;
      align-items: center;

      .title {
        display: flex;
        column-gap: 5px;
        align-items: center;
        height: 16px;
        line-height: 16px;

        .text {
          font-size: 14px;
          font-weight: bold;

          .iconfont {
            color: $primaryColor;
          }
        }
      }

      .btn_group {
        display: flex;
        column-gap: 5px;
      }
    }

    .divider_line {
      border-bottom: 1px dotted #e5e5e5;
      margin: 12px 0;
    }

    .body {
      background-color: #fff;
      box-sizing: border-box;
      padding: 0 14px;
      display: flex;
      flex-direction: column;
      row-gap: 18px;
      height: calc(100% - 25px - 28px);

      .out_storage_info {
        display: flex;
        flex-direction: column;
        row-gap: 12px;

        .title {
          font-size: 12px;
          font-weight: bold;
          padding-left: 6px;
          border-left: 3px solid #007cff;
        }

        .info_list {
          padding: 0 16px;
          display: grid;
          column-gap: 72px;
          row-gap: 12px;
          grid-template-columns: repeat(5, 1fr);

          .info_item {
            display: flex;
            column-gap: 5px;

            .label {
              color: #606266;
              text-align: right;
              white-space: nowrap;
            }

            .value {
              color: #000;
              max-width: 600px;
            }
          }

          .alignment_info_item_container {
            .label {
              width: 80px;
              text-align: right;
            }
          }
        }
      }

      .statistics-info {
        .title {
          font-size: 12px;
          font-weight: bold;
          padding-left: 6px;
          border-left: 3px solid #007cff;
          white-space: nowrap;
          height: 16px;
        }

        display: flex;
      }

      .logistics_info {
        display: flex;
        flex-direction: column;
        row-gap: 12px;

        .title {
          font-size: 12px;
          font-weight: bold;
          padding-left: 6px;
          border-left: 3px solid #007cff;
        }

        .info_list {
          display: flex;
          column-gap: 32px;
          padding: 0 16px;

          .info_item {
            display: flex;
            column-gap: 5px;

            .label {
              color: #606266;
              white-space: nowrap;
            }

            .value {
              color: #000;
              max-width: 600px;
            }
          }
        }
      }

      .operate_info {
        display: flex;
        flex-direction: column;
        row-gap: 12px;

        .title {
          font-size: 12px;
          font-weight: bold;
          padding-left: 6px;
          border-left: 3px solid #007cff;
        }

        .info_list {
          display: flex;
          column-gap: 32px;
          row-gap: 12px;
          padding: 0 16px;
          flex-wrap: wrap;

          .info_item {
            display: flex;
            column-gap: 5px;

            .label {
              color: #606266;
              white-space: nowrap;
            }

            .value {
              color: #000;
              max-width: 600px;
            }
          }
        }
      }

      .product_info {
        display: flex;
        flex-direction: column;
        row-gap: 12px;

        .title {
          font-size: 12px;
          font-weight: bold;
          padding-left: 6px;
          border-left: 3px solid #007cff;
        }
      }
    }
  }
}

.mark_bg {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.content_inner {
  background-color: #fff;
  padding: 12px;

  .title_bl {
    border-left: #007cff solid 3px;
    padding-left: 5px;
    font-size: 14px;
  }

  .basic_information {
    padding: 8px 8px 12px;

    :deep(.el-form-item__label) {
      color: #000000c9;
      font-size: 12px;
      height: 23px;
      line-height: 23px;
    }

    :deep(.el-form-item--default .el-form-item__content) {
      line-height: 23px;
    }

    .ml {
      font-size: 12px;
      color: #999;
    }
  }
}
:deep(.el-table__row) {
  &:hover {
    .add_delete {
      display: block;
      cursor: pointer;
    }

    .order {
      display: none;
    }
  }
}
.order {
  display: block;
}

.add_delete {
  display: none;

  .add {
    padding-right: 10px;
  }
}
.header_code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;

  .left_text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    p {
      margin-left: 24px;
      color: #999;
      font-size: 12px;

      &:first-child {
        margin-left: 0;
      }

      span {
        color: #000;
        text-overflow: ellipsis;
        max-width: 200px;
        overflow: hidden;
        white-space: nowrap;
      }
    }
  }

  .btn_header_code {
    display: flex;
    align-items: center;

    .btn_save {
      width: 5.2vw;
      height: 28px;
      margin-right: 8px;
      border-radius: 4px;
    }
  }

  .btn_selec {
    padding: 0 6px;
    border-radius: 2px;
  }

  .code_info {
    display: flex;
    align-items: center;

    p {
      margin-left: 24px;
      color: #999;

      span {
        color: #000;
      }
    }
  }
}

:deep(.el-radio__input.is-disabled) {
  span {
    background: #f5f7fa !important;
    border-color: #e4e7ed !important;
  }

  span.el-radio__label {
    color: #999 !important;
  }
}

:deep(.el-radio.is-disabled.is-checked) {
  span.el-radio__label {
    color: #999 !important;
  }
}

.footer_code {
  margin-top: 12px;
}

.newOut-ruleForm {
  .el-form-item__label {
    font-size: 12px;
  }

  .el-form-item {
    margin-bottom: 18px;
  }
}
:deep(.add-dialog) {
  --el-font-size-base: 12px;

  .cards {
    margin: 12px;

    .el-form-item__label {
      --el-form-label-font-size: 12px;
    }

    .item_bottom {
      margin-bottom: 15px;
    }

    .store_name_list {
      max-height: 20vh;
      overflow-y: auto;
    }

    .add_item {
      text-align: center;
      color: #007cff;
      cursor: pointer;
    }
  }

  .el-select .el-input.is-disabled .el-input__wrapper {
    width: 300px;
  }

  .el-input {
    width: 300px !important;
  }

  .btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px;
    margin-top: 25px;
    flex-direction: row-reverse;
    position: relative;

    .btn {
      height: 35px;
      line-height: 33px;
      padding: 0 15px;
      color: #ffffff;
      border-radius: 2px;
      display: inline-block;
      font-weight: 400;
      border: 1px solid #e5e5e5;
      font-size: 14px;
      cursor: pointer;
    }

    .save {
      border-color: #007cff;
      background-color: #007cff;
    }

    .cancel {
      border-color: #a6a6a6;
      background-color: #a6a6a6;
      margin-left: 5px;
    }
  }
}

.cancel_form {
  :deep(.el-textarea) {
    width: 100%;

    .el-textarea__inner {
      width: 100% !important;
      min-height: 75px !important;
      max-height: 150px !important;
    }
  }
}

.out_storage_form {
  :deep(.el-textarea) {
    .el-textarea__inner {
      min-width: 100% !important;
      max-width: 650px !important;
      min-height: 50px !important;
      max-height: 150px !important;
    }
  }
}

.select_code {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  height: 99%;

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .info_list {
      display: flex;
      column-gap: 32px;

      .info_item {
        display: flex;
        column-gap: 5px;

        .label {
          color: #606266;
        }

        .value {
          color: #000;
        }
      }
    }

    .btn_group {
      display: flex;
      column-gap: 5px;
    }
  }

  .table {
    max-height: calc(100% - 80px);
  }

  .pagination {
    display: flex;
    justify-content: flex-end;
  }
}

.code_detail {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  height: 99%;

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .info_list {
      display: flex;
      column-gap: 32px;

      .info_item {
        display: flex;
        column-gap: 5px;

        .label {
          color: #606266;
        }

        .value {
          color: #000;
        }
      }
    }
  }

  .table {
    max-height: calc(100% - 40px);

    :deep(.el-table__empty-block) {
      height: auto !important;
    }
  }
}

.top_app {
  box-sizing: border-box;
  padding: 12px 12px 0;
  background-color: rgb(240, 242, 245);

  .top_h {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.048);
    height: 47px;
    padding: 0px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;

    .text {
      display: flex;
      align-items: center;

      .module_color {
        font-size: 18px;
        font-weight: bolder;
        margin-right: 8px;
      }
    }
  }
}

.btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  .btn_save {
    width: 50px;
    height: 30px;
    border-radius: 0;
  }

  .btn_delete {
    width: 50px;
    height: 30px;
    border-radius: 0;
  }

  .btn_cancel {
    width: 50px;
    height: 30px;
    border-radius: 0;
  }
}
.send-ruleForm {
  max-width: 80%;
  .el-form-item {
    margin-bottom: 18px;
  }
}
.cancellation_dialog {
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  color: #f56c6c;
}
.tip_text {
  margin-bottom: 12px;
}
:deep(.el-dialog .el-dialog__body) {
  padding: 20px;
}

.text-color {
  color: #007cff !important;

  &:hover {
    text-decoration: underline;
    cursor: pointer;
  }
}

.el-tag.el-tag--success {
  --el-tag-text-color: #00c0c0;
  --el-tag-bg-color: #ebf6f6;
  --el-tag-border-color: #ebf6f6;
  --el-tag-hover-color: #00c0c0;
}
.purple_tag {
  color: #6222c2;
  background-color: #f3edff;
}

.el-tag.el-tag--info {
  --el-tag-border-color: var(--el-color-info-light-9);
}

.el-tag {
  --el-tag-border-color: var(--el-color-primary-light-9);
}

.el-tag.el-tag--warning {
  --el-tag-border-color: var(--el-color-warning-light-9);
}
